package com.ruoyi.mes.systembasic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车间管理对象 smes_department
 *
 * @author simpsense
 * @date 2020-11-30
 */
public class SmesDepartment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长列 */
    private Long departmentId;

    /** 车间编号 */
    @Excel(name = "车间编号")
    private String departmentNo;

    /** 车间名称 */
    @Excel(name = "车间名称")
    private String departmentName;

    /** 车间助记符 */
    @Excel(name = "车间助记符")
    private String departmentShortcut;

    /** 车间位置 */
    @Excel(name = "车间位置")
    private String departmentLocation;

    /** 车间排序 */
    @Excel(name = "车间排序")
    private Long departmentSequence;

    /** 是否激活 */
    @Excel(name = "是否激活")
    private String isActive;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String isDelete;

    public void setDepartmentId(Long departmentId)
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId()
    {
        return departmentId;
    }
    public void setDepartmentNo(String departmentNo)
    {
        this.departmentNo = departmentNo;
    }

    public String getDepartmentNo()
    {
        return departmentNo;
    }
    public void setDepartmentName(String departmentName)
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName()
    {
        return departmentName;
    }
    public void setDepartmentShortcut(String departmentShortcut)
    {
        this.departmentShortcut = departmentShortcut;
    }

    public String getDepartmentShortcut()
    {
        return departmentShortcut;
    }
    public void setDepartmentLocation(String departmentLocation)
    {
        this.departmentLocation = departmentLocation;
    }

    public String getDepartmentLocation()
    {
        return departmentLocation;
    }
    public void setDepartmentSequence(Long departmentSequence)
    {
        this.departmentSequence = departmentSequence;
    }

    public Long getDepartmentSequence()
    {
        return departmentSequence;
    }
    public void setIsActive(String isActive)
    {
        this.isActive = isActive;
    }

    public String getIsActive()
    {
        return isActive;
    }
    public void setIsDelete(String isDelete)
    {
        this.isDelete = isDelete;
    }

    public String getIsDelete()
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("departmentId", getDepartmentId())
                .append("departmentNo", getDepartmentNo())
                .append("departmentName", getDepartmentName())
                .append("departmentShortcut", getDepartmentShortcut())
                .append("departmentLocation", getDepartmentLocation())
                .append("departmentSequence", getDepartmentSequence())
                .append("isActive", getIsActive())
                .append("isDelete", getIsDelete())
                .toString();
    }
}